package cate.common.table.pvp.ladder;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class LadderBaseRow extends ERow {

    @NoteField("成功奖励")
    public String winRwdStr;

    @NoteField("失败奖励")
    public String failRwdStr;

    @NoteField("一键挑战奖励")
    public String mopRwdStr;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
        this.winRwdStr = xrw.getString("成功奖励");
        this.failRwdStr = xrw.getString("失败奖励");
        this.mopRwdStr = xrw.getString("一键挑战奖励");
    }
}
